const api = require('./api.js');

const prefix = "/wxmini/application-info";
const loginPrefix = "/app/auth";
const dataPrefix = "/wx/miniProgram";
const imgPrefix = "/file";

export function azLogin(data) {
  return api.post(`${loginPrefix}/wechat/login`,data)
}

export function getDataList(data) {
  return api.get(`${prefix}/getlist`,data);
}
//获取视频列表页
export function getDatalistPost(data) {
  return api.post(`${dataPrefix}/dataList`,data);
}
//视频播放详情页
export function getVideoDetail(data) {
  return api.get(`${dataPrefix}/dataDetail`,data);
}